package com.lapelittle.order.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.lapelittle.order.converter.QuantityConverter;

/**
 * 销售订单实体
 */
public class SaleOrder {
    
    @ExcelProperty("序号")
    private Integer id;
    
    /**
     * 店铺
     */
    @ExcelProperty("店铺")
    private String shopName;
    
    /**
     * 订单编号
     */
    @ExcelProperty("订单编号")
    private String orderNo;
    
    /**
     * 收件人省市区详细地址
     */
    @ExcelProperty("收件人省市区详细地址")
    private String receiverAddress;
    
    /**
     * 收件人名称
     */
    @ExcelProperty("收件人名称")
    private String receiverName;
    
    /**
     * 收件人手机号码
     */
    @ExcelProperty("收件人手机号码")
    private String receiverPhone;
    
    /**
     * 快递公司
     */
    @ExcelProperty("快递公司")
    private String expressCompany;
    
    /**
     * 快递单号
     */
    @ExcelProperty("快递单号")
    private String expressNo;
    
    /**
     * 模板名称
     */
    @ExcelProperty("模板名称")
    private String templateName;
    
    /**
     * 下单时间
     */
    @ExcelProperty("下单时间")
    private String orderTime;
    
    /**
     * 付款时间
     */
    @ExcelProperty("付款时间")
    private String payTime;
    
    /**
     * 发货时间
     */
    @ExcelProperty("发货时间")
    private String deliveryTime;
    
    /**
     * 商品简称
     */
    @ExcelProperty("商品简称")
    private String productName;
    
    /**
     * 销售属性
     */
    @ExcelProperty("销售属性")
    private String productProps;
    
    /**
     * 商家编码
     */
    @ExcelProperty("商家编码")
    private String merchantCode;
    
    /**
     * 商品数量
     */
    @ExcelProperty(value = "商品数量", converter = QuantityConverter.class)
    private Integer quantity;
    
    /**
     * 支付金额
     */
    @ExcelProperty("支付金额")
    @NumberFormat("#.##")
    private BigDecimal payAmount;  
    
    /**
     * 导入时间
     */
    @ExcelProperty("导入时间")
    private Date importTime;
    
    /**
     * 更新时间
     */
    @ExcelProperty("更新时间")
    private Date updateTime;

   

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getExpressCompany() {
        return expressCompany;
    }

    public void setExpressCompany(String expressCompany) {
        this.expressCompany = expressCompany;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductProps() {
        return productProps;
    }

    public void setProductProps(String productProps) {
        this.productProps = productProps;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Date getImportTime() {
        return importTime;
    }

    public void setImportTime(Date importTime) {
        this.importTime = importTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
} 